package com.yunshang.shoppingmall.common;

import java.util.HashMap;
import java.util.List;
/*layUI工具类*/
public class LayUIUtil extends HashMap<String,Object> {
    public static LayUIUtil data(Integer count, List<?> data){
        LayUIUtil layUIUtil = new LayUIUtil();
        layUIUtil.put("code", 0);
        layUIUtil.put("msg", "");
        layUIUtil.put("count", count);
        layUIUtil.put("data", data);
        return layUIUtil;
    }
}
